package com.jobmanagementsystem.mapper;

import com.jobmanagementsystem.entity.User;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

  List<User> getAllUsers(User user);

  User getUserById(String userId);

  User getUserByAccount(String userAccount);

  int addUser(User user);

  int updateUser(User user);

  int deleteUser(String userId);
}
